<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=GBK">

<title>打印页面</title>
<script language="javascript" src="./print_files/jquery-1.8.3.min.js"></script> 
<link rel="stylesheet" href="./print_files/css.css" media="screen">

<script type="text/javascript" src="./print_files/Print.js"></script>
<style type="text/css">
.biuuu_button{
	margin-top:50px;
	width:100px;
	height:40px;
	cursor:pointer;
}
.sihao{ font-size:26px;}
.xs{font-size:24px;}
.box{
  width :100%;
  height:600px;
  background:#ccc;
  display: inline-flex;
  flex-direction: row;
  font-size:18px; justify-content: space-between;
  }

.left_wrap{ width:600px; height:600px; margin-left:-10px;  }
.right_wrap{ width:490px; height:600px; padding-left:20px; }
.name {margin-top:45px;margin-left:50px; }
.fz_date{ margin-top:250px;     padding-left: 50px; display: block;}
.fz_date .year{ margin-right: 20px;}
.name_title{margin-top:255px; margin-left:20px;}
.body_date{margin-top:10px;}
.address{ width:230px; height:55px;margin-top:10px;    padding-right: 20px;}
.zj_title{ margin-top:40px; padding-left:40px; }
.sfz_num{ margin-top:10px;}
</style>
</head>
<body>
<div class="go_print">
	
<ul class="ul_b ul_b_l">
	<div class='box'>	
	        <!--左页面 -->	
			<div class="left_wrap">	
					<li class="name"> <!--姓名 -->   <span class="sihao">东亮</span></li>
					<li class="fz_date"><!--发证日期 --> <span class="year">2019</span>  <span>09</span></li>
					<li class="zj_title"><!--证件编号 --> <span class="xs">晋1401201xxxxxxxx</span></li>

			</div>		
				<!--右页面 -->		
			<div class="right_wrap">
				<li class="name_title"><!--姓名 -->    马东亮</li>
				<li class="body_date"><!--出生年月 -->  <span>1961年8月17日</span>  </li>
				<li class="address"><!--住址 -->   山西省清徐县西谷乡东罗白村兴罗五路西北巷17号 </li>
				<li class="sfz_num"><!--公民省份证号码 -->  <span class="xs">142635189898989898</span> </li>
			</div>				
	</div>

</ul>




	<div class="clear"></div>
	<div style="width:94%;">
		<input class="biuuu_button" type="submit" value="打印">
	</div>
</div>
<script> 
$(function(){ 
	$(".biuuu_button").click(function(){ 
		//打印方法1
		//$(".go_print").printArea(); 
		
		//打印方法2
		//$(".go_print").jqprint();
		 
		//打印方法3 经测图片空白页不存在
		Print('.go_print', {
			onStart: function () {
			  console.log('onStart', new Date())
			},
			onEnd: function () {
			  console.log('onEnd', new Date())
			}
		});
		
		//window.print();
	}); 

})
</script> 


</body></html>